import { AqmModule } from 'angular-qq-maps';
import { PublicModule } from 'src/app/common/public.module'
import { NgModule } from '@angular/core'
import { FormsModule, ReactiveFormsModule } from '@angular/forms'
import { CommonModule } from '@angular/common'
import { ComponentsModule } from 'src/app/common/components/components.module'
import { router } from './home.route'
import { NgZorroAntdMobileModule } from 'ng-zorro-antd-mobile'
import { SwiperModule } from 'ngx-swiper-wrapper'

import { HomeComponent } from './home.component'
import { IndexComponent } from './index/index.component'
import { SelectCityComponent } from './select-city/select-city.component'
import { EstateMapComponent } from './estate-map/estate-map.component'
import { SearchComponent } from './search/search.component'
import { SearchResultComponent } from './search-result/search-result.component'
import { QuotationComponent } from './quotation/quotation.component'
import { ActivityComponent } from './activity/activity.component'
import { ActivityDetailComponent } from './activity-detail/activity-detail.component'
import { ActivitySignupComponent } from './activity-signup/activity-signup.component'

@NgModule({
  imports: [
    FormsModule,
    CommonModule,
    ComponentsModule,
    router,
    NgZorroAntdMobileModule,
    PublicModule,
    ReactiveFormsModule,
    AqmModule.forRoot({
        apiKey: 'R6YBZ-BS6CF-N3QJB-NXEWE-AILU3-3GF6F',
        apiProtocol:'https'
      }),
    SwiperModule
  ],
  declarations: [
    HomeComponent,
    IndexComponent,
    SelectCityComponent,
    EstateMapComponent,
    SearchComponent,
    SearchResultComponent,
    QuotationComponent,
    ActivityComponent,
    ActivityDetailComponent,
    ActivitySignupComponent
  ]
})
export class HomeModule {}
